package com.sxf.biz.ocr.vo;

import com.fasterxml.jackson.annotation.JsonProperty;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;

import java.io.Serializable;

/**
 * @author: Leo
 */
public class OcrBankcardVO implements Serializable {

    /**
     * 发卡行
     */
    @ApiModelProperty(name = "bank_name", value = "发卡行")
    @JsonProperty("bank_name")
    private String bankName;
    /**
     * 银行卡号
     */
    @ApiModelProperty(name = "card_number", value = "银行卡号")
    @JsonProperty("card_number")
    private String cardNumber;
    /**
     * 有效期开始日期
     */
    @ApiModelProperty(name = "issue_date", value = "有效期开始日期")
    @JsonProperty("issue_date")
    private String issueDate;
    /**
     * 有效期截止日期
     */
    @ApiModelProperty(name = "expiry_date", value = "有效期截止日期")
    @JsonProperty("expiry_date")
    private String expiryDate;
    /**
     * 银行卡类别,如果参数返回为空，表示未识别到银行卡类别
     */
    @ApiModelProperty(name = "type", value = "银行卡类别,如果参数返回为空，表示未识别到银行卡类别")
    @JsonProperty("type")
    private String type;

    public String getBankName() {
        return bankName;
    }

    public void setBankName(String bankName) {
        this.bankName = bankName;
    }

    public String getCardNumber() {
        return cardNumber;
    }

    public void setCardNumber(String cardNumber) {
        this.cardNumber = cardNumber;
    }

    public String getIssueDate() {
        return issueDate;
    }

    public void setIssueDate(String issueDate) {
        this.issueDate = issueDate;
    }

    public String getExpiryDate() {
        return expiryDate;
    }

    public void setExpiryDate(String expiryDate) {
        this.expiryDate = expiryDate;
    }

    public String getType() {
        return type;
    }

    public void setType(String type) {
        this.type = type;
    }

    @Override
    public String toString() {
        return "OcrBankcardVO{" +
                "bankName='" + bankName + '\'' +
                ", cardNumber='" + cardNumber + '\'' +
                ", issueDate='" + issueDate + '\'' +
                ", expiryDate='" + expiryDate + '\'' +
                ", type='" + type + '\'' +
                '}';
    }
}
